/**
 * Class:	BeneficiaryEvaluation
 * 
 * Variables:
 * 
 *		private String[] strAnswers;
 *		private String suggestions;
 * 
 * Methods:
 * 		
 * 		public String getQuestion( int questionNo );
 * 
 * Remarks:
 * 
 * 		Variables are set to private and can be accessed
 * 		only through their getters and setters. The setter
 * 		of strAnswers return true if the setting of new
 * 		values is successful.
 * 		
 * 		The String[] should have a maximum size of 10 [0...9]
 * 
 * @author ( Sharmaine Lim )
 * @version ( 2013-02-28 // YYYY-MM-DD )
 */

package models;

public class BeneficiaryEvaluation extends Evaluation {
	
	/* Instance Variables */
	private String[] strAnswers;
	private String suggestions;
	
	
	
	/**
	 * Constructors
	 */
	
	public BeneficiaryEvaluation( Date dateFiled, String[] strAnswers, String suggestions ) {
		super( dateFiled );
		if ( strAnswers.length == 10 ) {
			this.strAnswers = strAnswers;
		}
		this.suggestions = suggestions;
	}
    
    
    
    /**
     *  Get Question
     *  	- gets the question for the item
     *  
     *  Parameters
     *		- int questionNo: number of question being requested (1...11)
     *	
     *	Returns
     *		- String "": Question for that number does not exist
     *		- String !"": Question for that number exists
     */
    public String getQuestion( int questionNo ) {
    	String result = "";
    	
    	switch ( questionNo ) {
    		case 1:		result = "Kalakasan sa preparasyon para sa outreach" +
    							 " activity: Pakikipag-ugnayan ng DLSU org" +
    							 " sa Partner Organization (Strengths in the" +
    							 " preparation for the outreach activity:" +
    							 " Interaction of the DLSU org with the" +
    							 " Partner Org)";
    					break;
    		case 2:		result = "Kahinaan sa preparasyon para sa outreach" +
    							 " activity: Pakikipag-ugnayan ng DLSU org" +
    							 " sa Partner Organization (Weaknesses in" +
    							 " the preparation for the outreach" +
    							 " activity: Interaction of the DLSU org with" +
    							 " the Partner Org)";
    					break;
    		case 3:		result = "Kalakasan sa pagtatakda ng petsa, oras at" +
    							 " iba pang mga detalye ng outreach activity" +
    							 " (Strengths in the recording of dates, times" +
    							 " and other details of the outreach activity)";
						break;
    		case 4:		result = "Kahinaan sa pagtatakda ng petsa, oras at" +
    							 " iba pang mga detalye ng outreach activity" +
    							 " (Weaknesses in the recording of dates, times" +
    							 " and other details of the outreach activity)";
    					break;
    		case 5:		result = "Kalakasan sa implementasyon ng outreach" +
    							 " activity: Nasunod ng DLSU org ang" +
    							 " napagkasunduang detalye ng outreach" +
    							 " activity tulad ng petsa, oras, programa" +
    							 " at iba pa (Strengths in the implementation" +
    							 " of the outreach activity: The DLSU org" +
    							 " followed the agreed details of the outreach" +
    							 " activity like the date, time, program, etc.)";
						break;
			case 6:		result = "Kahinaan sa  implementasyon ng outreach" +
								 " activity: Nasunod ng DLSU org ang" +
								 " napagkasunduang detalye ng outreach" +
								 " activity tulad ng petsa, oras, programa" +
								 " at iba pa (Weaknesses in the implementation" +
								 " of the outreach activity: The DLSU org" +
								 " followed the agreed details of the outreach" +
								 " activity like the date, time, program, etc.)";
						break;
			case 7:		result = "Kalakasan sa pagkilos ang DLSU org na naaayon" +
								 " sa isang grouping nais tumulong sa iba" +
								 " (Strengths in the how the DLSU org showed" +
								 " willingness to help others in their actions)";
						break;
			case 8:		result = "Kahinaan sa pagkilos ang DLSU org na naaayon" +
								 " sa isang grouping nais tumulong sa iba" +
								 " (Weaknesses in the how the DLSU org showed" +
								 " willingness to help others in their actions)";
						break;
			case 9:		result = "Kalakasan sa pagkasagawa ng isang gawaing" +
								 " makabuluhan at tutugon sa mga hinaing ng mga" +
								 " Partner Org at Community Beneficiaries" +
								 " (Strengths in how the DLSU org was able to" +
								 " carry forth sensible actions and responses" +
								 " to the requests of the Partner Orgs and" +
								 " Community Beneficiaries)";
						break;
			case 10:	result = "Kahinaan sa Nakasagawa ng isang gawaing" +
								 " makabuluhan at tutugon sa mga hinaing ng mga" +
								 " Partner Org at Community Beneficiaries" +
								 " (Weaknesses in how the The DLSU org was able" +
								 " to carry forth sensible actions and responses" +
								 " to the requests of the Partner Orgs and" +
								 " Community Beneficiaries)";
						break;
			case 11:	result = "Mga karagdagang mungkahi upong maging epektibo" +
								 " ang gawaing outreach/community service/" +
								 "community engagement ng DLSU org sa mga" +
								 " Partner Organization/Community Beneficiaries" +
								 " (Other suggestions to improve the outreach/" +
								 "community service/community engagement" +
								 " activities of DLSU with the Partner" +
								 " Organization/Community Beneficiaries)";
						break;
    	}
    	
    	return result;
    }
	
	
	
	/**
	 * Getters
	 */
	
	public String[] getStrAnswers() {
		return strAnswers;
	}
	
	public String getSuggestions() {
		return suggestions;
	}
	
	
	
	/**
	 * Setters
	 */
	
	public boolean setStrAnswers(String[] strAnswers) {
		if ( strAnswers.length == 10 ) {
			this.strAnswers = strAnswers;
			return true;
		}
		return false;
	}
	
	public void setSuggestions(String suggestions) {
		this.suggestions = suggestions;
	}
}
